﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QLNS_Public;
using QLNS_Data;
using System.Data;
namespace QLNS_BLL
{
   public class ChamCong_BLL
    {
       ChamCong_Data cc = new ChamCong_Data();

       public DataTable LayDuLieu()
       {
           return cc.LayDuLieu();
       }
       public DataTable taobang(string sql)
       {
           return cc.taobang(sql);
       }
       public int Update_ChamCong(ChamCong_Public maCong, ChamCong_Public maNhanVien, ChamCong_Public thang, ChamCong_Public nam, ChamCong_Public ngayNghiCoPhep, ChamCong_Public ngayNghiKhongPhep)
       {
           return cc.update_ChamCong(maCong,maNhanVien,thang,nam,ngayNghiCoPhep,ngayNghiKhongPhep);
       }
       public int Insert_ChamCong(ChamCong_Public maNhanVien, ChamCong_Public thang, ChamCong_Public nam, ChamCong_Public ngayNghiCoPhep, ChamCong_Public ngayNghiKhongPhep)
       {
           return cc.insert_ChamCong(maNhanVien,thang,nam,ngayNghiCoPhep,ngayNghiKhongPhep);
       }
       public int Delete_ChamCong(ChamCong_Public maCong)
       {
           return cc.delete_ChamCong(maCong);
       }
    }
}
